package com.woniu.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.woniu.entity.dto.QueryTrainingLevelDTO;
import com.woniu.entity.vo.TrainingLevelVO;
import com.woniu.pojo.TrainingLevel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaosong
 * @since 2023-03-31
 */
@Mapper
public interface TrainingLevelMapper extends BaseMapper<TrainingLevel> {

    IPage<TrainingLevelVO> listLevel(IPage<TrainingLevel> page, QueryTrainingLevelDTO queryTrainingLevelDTO);


    void setTid(Integer id);

    String levelCheck(String name);
}
